package com.ruoyi.worker.service.workerSys.impl;

import com.ruoyi.worker.domain.workAttendance.RzAttendanceSalarySum;
import com.ruoyi.worker.mapper.attendance.RzAttendanceSalarySumMapper;
import com.ruoyi.worker.service.workerSys.IRzAttendanceSalarySumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName IRzAttendanceSalarySumServiceImpl
 * @Description
 * @Author leizhang
 * Date 2021/11/28 11:39 下午
 * @Version 1.0
 **/
@Service
public class RzAttendanceSalarySumServiceImpl implements IRzAttendanceSalarySumService {

    @Resource
    private RzAttendanceSalarySumMapper rzAttendanceSalarySumMapper;

    /**
     * @Description : 列表数据查询
     * @Author : leizhang
     * @Date 11:40 下午 2021/11/28
     * @param rzAttendanceSalarySum
     * @return java.util.List<com.ruoyi.worker.domain.workAttendance.RzAttendanceSalarySum>
     **/
    @Override
    public List<RzAttendanceSalarySum> selectRzAttendanceSalarySumList(RzAttendanceSalarySum rzAttendanceSalarySum) {
        return rzAttendanceSalarySumMapper.selectRzAttendanceSalarySumList(rzAttendanceSalarySum);
    }

    /**
     * 批量删除
     *
     * @param ids 需要删除的主键
     * @return 结果
     */
    @Override
    public int deleteRzAttendanceSalarySumByIds(Long[] ids){
        return rzAttendanceSalarySumMapper.deleteRzAttendanceSalarySumByIds(ids);
    }
}
